//
// Created by xzy.xiao on 2022/6/8.
//

#ifndef CPP_DEMO_RECTANGLE_H
#define CPP_DEMO_RECTANGLE_H

class Rectangle {
public:
    Rectangle();

    Rectangle(double length, double width);

    double getLength() const;

    void setLength(double length);

    double getWidth() const;

    void setWidth(double width);

    double getArea();

private:
    double length{};
    double width{};

};

#endif //CPP_DEMO_RECTANGLE_H
